package org.chnxi.study.springcloud.dubbo.dto;

public enum RpcStatus {
    SUCCESS((short) 200 , "成功"),
    ERROR((short)500, "服务错误");

    private String msg;
    private short status;

    RpcStatus(short status, String msg){
        this.status = status;
        this.msg = msg;
    }

    public short getStatus(){
        return this.status;
    }

    public String msg(){
        return this.msg;
    }
}
